package model;

import java.io.Serializable;

public class ChatProtocol implements Serializable {

	private static final long serialVersionUID = 1L;

	protected ChatProtocolEnum type;	
	protected String content;
	protected String sender;
	
	public ChatProtocol(ChatProtocolEnum type, String content, String sender) {
		this.type = type;
		this.content = content;
		this.sender = sender;
	}

	public ChatProtocolEnum getType() {
		return type;
	}

	public String getContent() {
		return content;
	}
	
	public String getSender() {
		return sender;
	}

}
